package com.pj.fantabestconsole.client.widget;

import com.extjs.gxt.ui.client.Style.LayoutRegion;
import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
import com.pj.fantabestconsole.client.ConsoleRegistryKeys;

public class NorthContainer extends LayoutContainer {

	private LoginPanel loginPanel;
//	private TopMenu topMenu;	
	
	public NorthContainer() {
		super();
		this.setId(ConsoleRegistryKeys.NORTH_CONTAINER);
		this.setLayout(new BorderLayout());
		
		loginPanel = new LoginPanel();
		BorderLayoutData northData = new BorderLayoutData(LayoutRegion.NORTH,35);
		this.add(loginPanel,northData);
		
//		topMenu = new TopMenu();
//		BorderLayoutData centerData = new BorderLayoutData(LayoutRegion.CENTER,65);
//		this.add(topMenu,centerData);
	}

	public LoginPanel getLoginPanel() {
		return loginPanel;
	}

	
	
}
